package com.blog.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.entity.SysSensitive;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author cgx
 * @Date 2022/8/15 10:36
 */
@Mapper
public interface SysSensitiveMapper extends BaseMapper<SysSensitive> {

    /**
     * 获取敏感词
     * @param
     * @return
     */
    Set<String> querySensitiveWord();


    /**
     * 后台表格
     * @param sensitiveWord
     * @param createPeople
     * @return
     */
    List<Map<String, Object>> tableList(String sensitiveWord,String createPeople);
}
